package com.lzx.iteam.bean;

import java.io.Serializable;
import java.util.ArrayList;

import static android.R.attr.type;

/**
 * Created by Megan on 16/4/8.
 */
public class AttendanceData implements Serializable {

    private String groupId;
    private String groupName;
    private String name;//考勤名称
    private String address;//考勤地点
    private String _id;//考勤ID
    private String members;
    private int todoCount;  // 要处理的审批数
    private String memberCount;//考勤人数
    private String longitude;//经度
    private String latitude;//纬度
    private String deviation;//偏差范围
    private String workDate;//工作日
    private int formType;   // 0.固定班制,1.排班制
    private int rest;      // 休息, 1.是，0.否
    private String subForms; // 排班表
    private ArrayList<AttendanceSubBean> subFormList; // 排班表
    private int isQuartic;   // 0 :两次打卡   1: 四次打卡
    private String isAlert;//是否推送提醒 1：是 0否
    private String isAdmin;//是否是管理员  1是  0否

    private String startWorkTime;//上班时间
    private String endWorkTime;//下班时间
    private String signInTime;//已签到的时间戳，默认为0
    private String signOutTime;//已签退的时间戳，默认为0
    private int unreadCount;//未读评论数
    private String wifiMsg;
    private int is_legwork; // 外勤签到:  1:开通  0: 未开通

    private String noonEndTime;     //中午下班打卡时间 如: 12:00
    private String noonStartTime;   //中午上班打卡时间 如: 13:00
    private String noonSignOutTime; // 中午已签退的时间戳，默认为0
    private String noonSignInTime;  //  中午已签到的时间戳，默认为0

    private boolean isNextDayTakeEffect;//是否明天生效 1.是, 0.否

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public String getMembers() {
        return members;
    }

    public void setMembers(String members) {
        this.members = members;
    }

    public String getMemberCount() {
        return memberCount;
    }

    public void setMemberCount(String memberCount) {
        this.memberCount = memberCount;
    }

    public String getLongitude() {
        return longitude;
    }

    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    public String getLatitude() {
        return latitude;
    }

    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    public String getDeviation() {
        return deviation;
    }

    public void setDeviation(String deviation) {
        this.deviation = deviation;
    }

    public String getStartWorkTime() {
        return startWorkTime;
    }

    public void setStartWorkTime(String startWorkTime) {
        this.startWorkTime = startWorkTime;
    }

    public String getEndWorkTime() {
        return endWorkTime;
    }

    public void setEndWorkTime(String endWorkTime) {
        this.endWorkTime = endWorkTime;
    }

    public String getWorkDate() {
        return workDate;
    }

    public void setWorkDate(String workDate) {
        this.workDate = workDate;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getIsAlert() {
        return isAlert;
    }

    public void setIsAlert(String isAlert) {
        this.isAlert = isAlert;
    }

    public int getTodoCount() {
        return todoCount;
    }

    public void setTodoCount(int todoCount) {
        this.todoCount = todoCount;
    }

    /*public String getSignIn() {
        return signIn;
    }

    public void setSignIn(String signIn) {
        this.signIn = signIn;
    }

    public String getSignOut() {
        return signOut;
    }

    public void setSignOut(String signOut) {
        this.signOut = signOut;
    }*/

    public String getIsAdmin() {
        return isAdmin;
    }

    public void setIsAdmin(String isAdmin) {
        this.isAdmin = isAdmin;
    }

    public String getSignInTime() {
        return signInTime;
    }

    public void setSignInTime(String signInTime) {
        this.signInTime = signInTime;
    }

    public String getSignOutTime() {
        return signOutTime;
    }

    public void setSignOutTime(String signOutTime) {
        this.signOutTime = signOutTime;
    }

    public int getUnreadCount() {
        return unreadCount;
    }

    public void setUnreadCount(int unreadCount) {
        this.unreadCount = unreadCount;
    }

    public String getWifiMsg() {
        return wifiMsg;
    }

    public void setWifiMsg(String wifiMsg) {
        this.wifiMsg = wifiMsg;
    }

    public int getIs_legwork() {
        return is_legwork;
    }

    public void setIs_legwork(int is_legwork) {
        this.is_legwork = is_legwork;
    }

    public String getNoonEndTime() {
        return noonEndTime;
    }

    public void setNoonEndTime(String noonEndTime) {
        this.noonEndTime = noonEndTime;
    }

    public String getNoonStartTime() {
        return noonStartTime;
    }

    public void setNoonStartTime(String noonstartTime) {
        this.noonStartTime = noonstartTime;
    }

    public String getNoonSignInTime() {
        return noonSignInTime;
    }

    public void setNoonSignInTime(String noonSignInTime) {
        this.noonSignInTime = noonSignInTime;
    }

    public String getNoonSignOutTime() {
        return noonSignOutTime;
    }

    public void setNoonSignOutTime(String noonSignOutTime) {
        this.noonSignOutTime = noonSignOutTime;
    }

    public boolean isNextDayTakeEffect() {
        return isNextDayTakeEffect;
    }

    public void setNextDayTakeEffect(boolean nextDayTakeEffect) {
        isNextDayTakeEffect = nextDayTakeEffect;
    }

    public int getIsQuartic() {
        return isQuartic;
    }

    public void setIsQuartic(int isQuartic) {
        this.isQuartic = isQuartic;
    }

    public int getFormType() {
        return formType;
    }

    public void setFormType(int formType) {
        this.formType = formType;
    }

    public String getSubForms() {
        return subForms;
    }

    public void setSubForms(String subForms) {
        this.subForms = subForms;
    }

    public int getRest() {
        return rest;
    }

    public void setRest(int rest) {
        this.rest = rest;
    }

    public ArrayList<AttendanceSubBean> getSubFormList() {
        return subFormList;
    }

    public void setSubFormList(ArrayList<AttendanceSubBean> subFormList) {
        this.subFormList = subFormList;
    }
}
